package com.xintonghua.bussiness.bean;

import java.util.List;

/**
 * Created by liqi on 2018/3/31.
 */

public class RechargeViewBean {

    /**
     * userInfo : {"phone":"18228516801","nickname":"撒大沙发","id":1}
     * memberCards : [{"id":1,"title":"、充值100送3次洗发"},{"id":2,"title":"2、充值1000送40次洗发"},{"id":3,"title":"3、充值10000送500次洗发"}]
     */

    private UserInfoBean userInfo;
    private List<MemberCardsBean> memberCards;

    public UserInfoBean getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfoBean userInfo) {
        this.userInfo = userInfo;
    }

    public List<MemberCardsBean> getMemberCards() {
        return memberCards;
    }

    public void setMemberCards(List<MemberCardsBean> memberCards) {
        this.memberCards = memberCards;
    }

    public static class UserInfoBean {
        /**
         * phone : 18228516801
         * nickname : 撒大沙发
         * id : 1
         */

        private String phone;
        private String nickname;
        private int id;

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }
    }

    public static class MemberCardsBean {
        /**
         * id : 1
         * title : 1、充值100送3次洗发
         */

        private int id;
        private String title;
        private double amount;

        public double getAmount() {
            return amount;
        }

        public void setAmount(double amount) {
            this.amount = amount;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
}
